package vn.com.tiz.DocumentZ.settings;

import java.io.File;

import vn.com.tiz.DocumentZ.IO.FileManager;

import android.content.Context;
import android.util.Log;

public class AppSettings {

	
	public static final String DATA_FOLDER = "/mnt/sdcard/Android/data";
	
	public static int SCREEN_WIDTH = 480;
	public static int SCREEN_HEIGHT = 800;
	
	public static void initializeApp(Context context){
		//Create default folder
		if(!FileManager.isExistSdCard())
			return;
		
		String path = DATA_FOLDER+"/"+context.getPackageName();
		File file = new File(path);
		if(file.exists() == false){
			Log.i("TrungTT","Create folder on sdcard:"+path);
			file.mkdir();
		}
	}
	
	
}
